package com.example.service.impl;

import com.example.domain.TableConstraintsAndColumn;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

import com.example.domain.TableConstraints;
import com.example.mapper.TableConstraintsMapper;
import com.example.service.TableConstraintsService;

import java.util.List;

@Service
public class TableConstraintsServiceImpl implements TableConstraintsService {

    @Resource
    private TableConstraintsMapper tableConstraintsMapper;


    @Override
    public List<TableConstraintsAndColumn> selectByTableAndSchema(String tableSchema, String tableName) {
        return tableConstraintsMapper.selectByTableAndSchema(tableSchema, tableName);
    }
}
